<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="media/css/login.css" rel="stylesheet" type="text/css" />
    <link href="media/css/main.css" rel="stylesheet" type="text/css" />
    <title>Comander - login</title>
</head>
<body>
    <div id="content" class="login">
    <header>
        <h1>Comander</h1>
    </header>
    <?php
    /*
     * To change this template, choose Tools | Templates
     * and open the template in the editor.
     */
    require dirname(__FILE__).'/manager/HTML_Form.php';

    $frm = new HTML_Form();

    $frmLogin = $frm->startForm('login_process.php', 'post', 'LoginForm',
        array('class'=>'myFormClass') );
    $frmLogin .= '<fieldset>';
    $frmLogin .= $frm->addLabelFor('username', 'username: ');
    $frmLogin .= $frm->HTML5addInput('text', 'username', 'cec',
                           array('id'=>'username'),'required autofocus');

    $frmLogin .= '<br />';
    $frmLogin .= $frm->addLabelFor('password', 'password: ');
    $frmLogin .= $frm->HTML5addInput('password', 'password', '12345',
                           array('id'=>'password'),'required');
    $frmLogin .= '</fieldset>';

    $frmLogin .= '<fieldset class=login>';
    $frmLogin .= $frm->addInput('submit', 'submitMyForm', 'ENTRA',array('id'=>'submitLogin'));
    $frmLogin .= '</fieldset>';

    $frmLogin .=  $frm->endForm();

    echo $frmLogin;
    ?>
    <small>&copy; commander</small>
    </div>
</body>
</html>
